<extend name="Common/common"/>
<block name="main">
    <div class="right-title">患者诊疗记录</div>
    <div class="right-content">
        <div class="adjsuttwo-title">
            <span class="adjust-border">
                <span class="click">患者资料</span>
            </span>
        </div>
        <table border="0" class="table">
            <tr class="table-theadadjust">
                <td>姓名</td>
                <td>{$patient.name}</td>
            </tr>
            <tr class="table-theadadjust">
                <td>性别</td>
                <td>{:$patient['sex']?'男':'女'}</td>
            </tr>
            <tr class="table-theadadjust">
                <td>年龄</td>
                <td>{$patient.age|default=20}岁</td>
            </tr>
            <notempty name="patient['remark']">
                <tr class="table-theadadjust">
                    <td>备注</td>
                    <td>{$patient.remark}</td>
                </tr>
            </notempty>
        </table>
        <div class="adjsuttwo-title">
            <span class="adjust-border">
                <span class="click">诊疗记录</span>
            </span>
        </div>
        <table border="0" class="patinet-content">
            <tr class="patient">
                <td>医生</td>
                <td>病情症状</td>
                <td>诊断结果</td>
                <td>用药及处方</td>
                <td>日期</td>
                <td>操作</td>
            </tr>
            <volist name="list" id="vo">
                <tr class="patient nobg">
                    <td>{$vo.doctor}</td>
                    <td>{$vo.symptom|mbSub=###,0,6}</td>
                    <td>{$vo.treatment|mbSub=###,0,6}</td>
                    <td>{$vo.recipe|mbSub=###,0,6}</td>
                    <td>{$vo.treat_time}</td>
                    <td><span class="patientdetails"  onclick="location.href='{:U('viewtreatment',array('id'=>$vo['id']))}'">详情</span></td>
                </tr>
            </volist>
        </table>
    </div>
</block>
<block name="css"></block>
<block name="js">
</block>